<?php
/**
 * 后台用控制器模板
 */
namespace app\admin\controller\maintain;

use app\admin\controller\AuthController;
use service\JsonService;
use app\common\model\ArticleCategory;

class Article extends AuthController
{
	public $model = '\app\common\model\Article';

    use \traits\ShotcutControllerTrait;

    public function _add()
    {
        $this->assign([
            'categories' => ArticleCategory::getListArr(),
        ]);
    }
}
